/*
 * commons is a based project implemented
 * Copyright (C) 2024 Jasmine
 */
package com.commons.web.validate.parser;

import java.util.Objects;

import com.commons.web.validate.RuleParser;

/**
 *
 *
 * @author Jasmine
 * @version 1.0
 * @date 2021/01/27 9:04
 * @see EmptyParser
 * @since JDK1.8
 */
public class EmptyParser implements RuleParser {

    @Override
    public Boolean validate(Object value, String... rvs) {
        return Objects.isNull(value);
    }

}
